<?php
$backupFile = bd."_".date("d-m-Y-H-i-s").".sql";
$backupRoute = "backup\\";
$command = "mysqldump --opt -h"."localhost"." -u"."urbanizl_iut"." -p"."iut"." "."urbanizl_sd_cc_ar"." >".$backupRoute.$backupFile;
//$command = "mysqldump --opt -h"."82.98.147.25"." -u"."urbanizl_iut"." -p"."iut"." "."urbanizl_sd_cc_ar"." >".$backupRoute.$backupFile;
$valor= system($command);
//echo "Backup Generado";
echo "<TABLE height='100%' cellSpacing=3 cellPadding=0 width=549 align=center bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=543 bgColor=#ff0000 height='100'>
      <TABLE height='100%' cellSpacing=1 width=545 align=center border=0>
        <TBODY>
        <TR>
          <TD vAlign=top bgColor=#ffffff height='100' width='541'><DIV align=center>
            <TABLE height='293' cellSpacing=5 width=437 align=center bgColor=#ffffff border=0>
              <TBODY>			  
              <TR>			  
                <TD width=425 bgColor=#ffffff height='200'><div id='muestra'>
                  <p>&nbsp;</p>
                  <div align='center'><img src='Backup_Generado.png' width='408' height='118'>                  </div>                  
                  <p align='center' class='Estilo4'> 
                  <p align='left' class='Estilo1'>		  </TD>
              </TR>
			  </TBODY></TABLE>
        </DIV></TD></TR></TBODY></TABLE></TD>
</TR></TBODY></TABLE>";
echo "<meta http-equiv='refresh' content='2; url=../Consejo-Comunal.html' />";
 
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

</body>
</html>
